/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.ipti.br.tag.bo;

import org.ipti.br.tag.dao.UnityCalendarFacade;
import org.ipti.br.tag.entity.UnityCalendar;
import java.io.Serializable;
import java.util.List;
import javax.ejb.Stateless;
import javax.inject.Inject;

/**
 *
 * @author root
 */
@Stateless
public class UnityCalendarBO implements Serializable {

    @Inject
    private UnityCalendarFacade unityCalendarDAO;

    public UnityCalendarFacade getUnityCalendarDAO() {
        return unityCalendarDAO;
    }

    public void create(UnityCalendar unityCalendar) {
        getUnityCalendarDAO().create(unityCalendar);
    }

    public void edit(UnityCalendar unityCalendar) {
        getUnityCalendarDAO().edit(unityCalendar);
    }

    public void remove(UnityCalendar unityCalendar) {
        getUnityCalendarDAO().remove(unityCalendar);
    }

    public UnityCalendar find(Object id) {
        return getUnityCalendarDAO().find(id);
    }

    public List<UnityCalendar> findAll() {
        return getUnityCalendarDAO().findAll();
    }

    public void editForSynchronization(UnityCalendar unityCalendar) {
        getUnityCalendarDAO().editForSynchronization(unityCalendar);
    }
}
